﻿@if(Request.IsAuthenticated) {
    <text>Welcome <b>@Context.User.Identity.Name</b>!
    [ @Html.ActionLink("Log Off", "LogOff", "Account") ]</text>
}
else {
    <input id="username" type="text" name="username" />
    <input id="password" type="text" name="password" />
    @:[ @Html.ActionLink("Log On", "LogOn", "Account") ]
}

